package com.uminho.objects;

/****c* Objects/exchangeNotification
* DESCRIPTION
* Objeto Notificação que armazena informação relativa a notificações de permutas. Tem, por isso, informação de dois compromissos.
****
*/

public class exchangeNotification extends Notification {
	SimpleAppointment requester_appointment;
	Appointment responder_appointment;
	Long exchange_id;

	public exchangeNotification(String id, String type,
			Appointment responder_appointment,
			SimpleAppointment requester_appointment, Long exchange_id) {
		super(id, type);
		this.responder_appointment = responder_appointment;
		this.requester_appointment = requester_appointment;
		this.exchange_id = exchange_id;
	}

	public Appointment getResponder_appointment() {
		return responder_appointment;
	}

	public void setResponder_appointment(Appointment responder_appointment) {
		this.responder_appointment = responder_appointment;
	}

	public SimpleAppointment getRequester_appointment() {
		return requester_appointment;
	}

	public void setRequester_appointment(SimpleAppointment requester_appointment) {
		this.requester_appointment = requester_appointment;
	}

	public Long getExchange_id() {
		return exchange_id;
	}

	public void setExchange_id(Long exchange_id) {
		this.exchange_id = exchange_id;
	}
	
	
}